package org.xxpay.core.entity;

import javax.xml.crypto.Data;
import java.io.Serializable;
import java.util.Date;

public class SysQuota implements Serializable {
    /**
     * 系统额度ID
     *
     * @mbggenerated
     */
    private Long id;

    /**
     * USDF
     *
     * @mbggenerated
     */
    private Double usdt;

    /**
     * USDF费率
     *
     * @mbggenerated
     */
    private Double usdt_rate;

    /**
     * 金额(元)
     *
     * @mbggenerated
     */
    private Double amount;

    /**
     * 备注
     *
     * @mbggenerated
     */
    private String remark;

    /**
     * 系统密钥
     *
     * @mbggenerated
     */
    private String system_key;

    /**
     * 谷歌验证码
     *
     * @mbggenerated
     */
    private String google_code;

    /**
     * 用户id
     *
     * @mbggenerated
     */
    private Long user_id;

    /**
     * 用户名称
     *
     * @mbggenerated
     */
    private String user_name;

    /**
     * ip
     *
     * @mbggenerated
     */
    private String ip;

    /**
     * 创建时间
     *
     * @mbggenerated
     */
    private Date createTime;

    /**
     * 起始时间
     */
    private Date startTime;
    /**
     * 结束时间
     */
    private Date endTime;

    private Double preChargePoint;

    private Double postChargePoint;

    public Double getUsdt() {
        return usdt;
    }

    public void setUsdt(Double usdt) {
        this.usdt = usdt;
    }

    public Double getUsdt_rate() {
        return usdt_rate;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public void setUsdt_rate(Double usdt_rate) {
        this.usdt_rate = usdt_rate;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Double getPreChargePoint() {
        return preChargePoint;
    }

    public void setPreChargePoint(Double preChargePoint) {
        this.preChargePoint = preChargePoint;
    }

    public Double getPostChargePoint() {
        return postChargePoint;
    }

    public void setPostChargePoint(Double postChargePoint) {
        this.postChargePoint = postChargePoint;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }


    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getSystem_key() {
        return system_key;
    }

    public void setSystem_key(String system_key) {
        this.system_key = system_key;
    }

    public String getGoogle_code() {
        return google_code;
    }

    public void setGoogle_code(String google_code) {
        this.google_code = google_code;
    }

    public Long getUser_id() {
        return user_id;
    }

    public void setUser_id(Long user_id) {
        this.user_id = user_id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", usdf=").append(usdt);
        sb.append(", usdf_rate=").append(usdt_rate);
        sb.append(", amount=").append(amount);
        sb.append(", remark=").append(remark);
        sb.append(", system_key=").append(system_key);
        sb.append(", google_code=").append(google_code);
        sb.append(", user_id=").append(user_id);
        sb.append(", user_name=").append(user_name);
        sb.append(", ip=").append(ip);
        sb.append(", createTime=").append(createTime);
        sb.append("]");
        return sb.toString();
    }
}